package com.jinzhi.wxpay.service;


import org.springframework.stereotype.Service;

import java.io.IOException;
import java.math.BigDecimal;
import java.security.GeneralSecurityException;
import java.util.Map;

@Service
public interface WxPayService {

    Map<String, Object> nativePay(Long userId,Long productId) throws Exception;

    Map<String, Object> JsApinativePay(String title,String openid, BigDecimal totalFee) throws Exception;

    void processOrder(Map<String, Object> bodyMap) throws GeneralSecurityException;


}
